package com.crm.Mapper;

import com.crm.entity.Business;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BusinessMapper {
    /**
     * 新增商机
     * @param business
     */
    void insert(Business business);

    /**
     * 商机分页查询
     * @param beginCreateTime
     * @param endCreateTime
     * @return
     */
    List<Business> selectByBusinessList(String beginCreateTime, String endCreateTime);
}
